#ifndef __CLOCK_H__
#define __CLOCK_H__

// 时钟类型定义
typedef struct Clock
{
    char year;
    char month;
    char day;

    char millisecond;
    char second;
    char minute;
    char hour;
} Clock_TypeDef;

extern Clock_TypeDef Clock_buff;
extern bit Clock_Tick;

extern void Clock_init(void);
extern bit Is_leap_year(void);

#endif
